]> git.neil.brown.name Git - wiggle.git/log
wiggle.git
14 years agoRelease version 0.7 devel v0.7
Neil Brown [Wed, 24 Mar 2010 06:30:14 +0000 (17:30 +1100)]
Release version 0.7

After nearly 7 years...

14 years agovpatch: silence a compiler warning.
Neil Brown [Wed, 24 Mar 2010 06:28:03 +0000 (17:28 +1100)]
vpatch: silence a compiler warning.

Apparently attrset seems to return a value so we need
to explicitly ignore it.

Signed-off-by: NeilBrown <neilb@suse.de>
14 years agoAdd a number of tests which had not been commited to 'git' previously.
Neil Brown [Wed, 24 Mar 2010 06:22:36 +0000 (17:22 +1100)]
Add a number of tests which had not been commited to 'git' previously.

Signed-off-by: NeilBrown <neilb@suse.de>
14 years agoImprove diff/fixup when diff is greedy at end of a diff.
Neil Brown [Tue, 23 Mar 2010 06:09:05 +0000 (17:09 +1100)]
Improve diff/fixup when diff is greedy at end of a diff.

The 'fixup' code to make up for the greediness of diff did not
treat the end of the diff as a (zero length) match which can be grown.
This could leave no context at the end of a 'diff'.

Applying a patch with no trailing context can cause confusion.

This fixes the issue raise by Debian Bug 271766

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=271766

The sample from that bug is included as a test.

Signed-off-by: NeilBrown <neilb@suse.de>
14 years agoMakefile: (clean): do not delete original files
Jari Aalto [Thu, 4 Mar 2010 17:31:21 +0000 (19:31 +0200)]
Makefile: (clean): do not delete original files

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Neil Brown <neilb@suse.de>
14 years agoextract.c: (split_merge): initialize with NULL
Jari Aalto [Thu, 4 Mar 2010 08:55:37 +0000 (10:55 +0200)]
extract.c: (split_merge): initialize with NULL

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Neil Brown <neilb@suse.de>
14 years agowiggle.1: fix hyphens
Jari Aalto [Wed, 3 Mar 2010 23:32:15 +0000 (01:32 +0200)]
wiggle.1: fix hyphens

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Neil Brown <neilb@suse.de>
15 years agoImprove parsing of diff -u output.
Neil Brown [Thu, 5 Mar 2009 05:59:14 +0000 (16:59 +1100)]
Improve parsing of diff -u output.

Normally chunks start
  @@ -%d,%d +%d%d @@
but if a section is just one line long, the ',1' is dropped, so
  @@ -%d +%d @@

is possible.

15 years agoFix an off-by-one bug.
Neil Brown [Thu, 5 Mar 2009 05:38:17 +0000 (16:38 +1100)]
Fix an off-by-one bug.

I assume .... I don't remember, sorry.

15 years agovpatch: remove a pointless dereference.
Neil Brown [Thu, 5 Mar 2009 05:36:52 +0000 (16:36 +1100)]
vpatch: remove a pointless dereference.

15 years agoVarious little changes to p.
Neil Brown [Thu, 5 Mar 2009 05:35:59 +0000 (16:35 +1100)]
Various little changes to p.

I did them a while ago an don't remember..

17 years agoFix a couple of little bugs that crept in to p
Neil Brown [Tue, 13 Jun 2006 12:59:29 +0000 (22:59 +1000)]
Fix a couple of little bugs that crept in to p

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAdd export option to p
Neil Brown [Tue, 13 Jun 2006 12:57:14 +0000 (22:57 +1000)]
Add export option to p

This is a preliminary attempt at git integration.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAdd rebase function to 'p'
Neil Brown [Tue, 13 Jun 2006 12:57:10 +0000 (22:57 +1000)]
Add rebase function to 'p'

This moves all 'applied' patches to 'included'
and makes the current files 'current'  and 'orig'.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoWhen calling a recursive p, use $0 to find it.
Neil Brown [Tue, 13 Jun 2006 12:57:06 +0000 (22:57 +1000)]
When calling a recursive p, use $0 to find it.

This applied to recommit and decommit

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoFix up problem with make_diff
Neil Brown [Tue, 13 Jun 2006 12:57:04 +0000 (22:57 +1000)]
Fix up problem with make_diff

Because creation of .patches/patch is now delayed,
we couldn't delete it when needed.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoget_conf was messing up the 'name' variable
Neil Brown [Tue, 13 Jun 2006 12:57:03 +0000 (22:57 +1000)]
get_conf was messing up the 'name' variable

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoDefine 'p unapply'
Neil Brown [Tue, 13 Jun 2006 12:57:01 +0000 (22:57 +1000)]
Define 'p unapply'

This reverses an applied patch that was forced in.
It goes back to the removed directory exactly as it was.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoDon't allow patch reviewing and patch applying to overlap
Neil Brown [Tue, 13 Jun 2006 12:57:00 +0000 (22:57 +1000)]
Don't allow patch reviewing and patch applying to overlap

Otherwise we get into a mess

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoFix typo in to-resolve name
Neil Brown [Tue, 13 Jun 2006 12:56:59 +0000 (22:56 +1000)]
Fix typo in to-resolve name

To make sure we don't commit with resolving conflicts.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAllow tagline in config instead of hard-coding $CERT
Neil Brown [Tue, 13 Jun 2006 12:56:58 +0000 (22:56 +1000)]
Allow tagline in config instead of hard-coding $CERT

Other people wouldn't want my $CERT ....

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoHandle config file for author/maintainer/cc
Neil Brown [Tue, 13 Jun 2006 12:56:57 +0000 (22:56 +1000)]
Handle config file for author/maintainer/cc

e.g.

author = NeilBrown <neilb@suse.de>
header = X-Face: whatever
header = "       and whatever

maintainer = akpm@osdl.org
[Nfsd]
 tag=kNFSd
 cc=nfs@lists.sourceforge.net
[Md]
 tag=md
 cc=linux-raid@vger.kernel.org

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoMove base files from ~current~ to .patches/current/
Neil Brown [Tue, 13 Jun 2006 12:56:55 +0000 (22:56 +1000)]
Move base files from ~current~ to .patches/current/

similarly for ~orig~.
This means the tree isn't cluttered with yukky file names.

Also add 'p upgrade' functionality to move files in an active tree.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoJust some TODO updates
Neil Brown [Tue, 13 Jun 2006 12:56:38 +0000 (22:56 +1000)]
Just some TODO updates

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoRemove unnwanted empty file
Neil Brown [Tue, 13 Jun 2006 12:37:57 +0000 (22:37 +1000)]
Remove unnwanted empty file

17 years agoSupport searching backwards too.
Neil Brown [Sat, 3 Jun 2006 12:04:48 +0000 (12:04 +0000)]
Support searching backwards too.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoBasic incremental search support.
Neil Brown [Sat, 3 Jun 2006 11:55:55 +0000 (11:55 +0000)]
Basic incremental search support.

Only forward, and still some rough edges,
and only once per line, and no highlighting etc.
But there is real functionality there.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoMove to start or end of line.
Neil Brown [Sat, 3 Jun 2006 10:43:18 +0000 (10:43 +0000)]
Move to start or end of line.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoSupport horizontal movement: left and right.
Neil Brown [Sat, 3 Jun 2006 10:38:56 +0000 (10:38 +0000)]
Support horizontal movement: left and right.

Side-scroll on demand

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoFind previous and next diffs.
Neil Brown [Sat, 3 Jun 2006 09:43:30 +0000 (09:43 +0000)]
Find previous and next diffs.

'P' and 'N'

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoPage up and down
Neil Brown [Sat, 3 Jun 2006 09:31:21 +0000 (09:31 +0000)]
Page up and down

Control-V and ESC-v

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoFix bug where first line always displayed as a blank.
Neil Brown [Sat, 3 Jun 2006 09:16:52 +0000 (09:16 +0000)]
Fix bug where first line always displayed as a blank.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoMovement commands for top and bottom
Neil Brown [Sat, 3 Jun 2006 02:06:48 +0000 (02:06 +0000)]
Movement commands for top and bottom

ESC < or 0G   for top
ESC > or G    for bottom

Some number-prefix stuff too.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoBlank screen after end of file and before beginning.
Neil Brown [Sat, 3 Jun 2006 01:36:02 +0000 (01:36 +0000)]
Blank screen after end of file and before beginning.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAdd todo file
Neil Brown [Sat, 3 Jun 2006 01:28:51 +0000 (01:28 +0000)]
Add todo file

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAdequate viewing of merged diffs now.
Neil Brown [Sat, 3 Jun 2006 01:28:05 +0000 (01:28 +0000)]
Adequate viewing of merged diffs now.

Displays + and - lines as appropriate and can
be positioned on any line.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoBeginning of handling of grouped diffs.
Neil Brown [Fri, 2 Jun 2006 13:39:34 +0000 (13:39 +0000)]
Beginning of handling of grouped diffs.

i.e. if there are some '-' and some '+' lines together,
then all the '-' come first, followed by all the '+',
rather than intermingling them.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoRemove all trailing blanks.
Neil Brown [Fri, 9 Jun 2006 07:10:55 +0000 (07:10 +0000)]
Remove all trailing blanks.

There are quite a few...

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoImprovements to brower mode.
Neil Brown [Mon, 29 May 2006 10:42:57 +0000 (10:42 +0000)]
Improvements to brower mode.

While still simplistic, it now displays deletes and inserts
on different lines, so each file line can be 1 or 2
screen lines.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoRemove support for the name 'vpatch'
Neil Brown [Thu, 25 May 2006 11:08:57 +0000 (11:08 +0000)]
Remove support for the name 'vpatch'

Apparently it is otherwise used:
   http://www.tibed.net/index.php?page=vpatch

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoGet merge2 to pass all the tests...
Neil Brown [Thu, 25 May 2006 10:59:57 +0000 (10:59 +0000)]
Get merge2 to pass all the tests...

Some of this done by changing tests...

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAdd tests/linux/idmap.h
Neil Brown [Fri, 9 Jun 2006 07:05:42 +0000 (17:05 +1000)]
Add tests/linux/idmap.h

I must have missed it before.

18 years agoFix a couple of signed/unsigned warnings
Neil Brown [Sun, 21 May 2006 23:51:00 +0000 (09:51 +1000)]
Fix a couple of signed/unsigned  warnings
(cherry picked from 80e90ff5842fb2b382efe8768f441ddbdca5300e commit)

18 years agoAdd new patch-browsing mode - needs a lot of work.
Neil Brown [Sun, 21 May 2006 23:46:32 +0000 (09:46 +1000)]
Add new patch-browsing mode - needs a lot of work.
(cherry picked from 0b29f4153dbe34b164e2636066c19d2c383e17e4 commit)

18 years agoStill more updates to 'p' origin
Neil Brown [Sun, 21 May 2006 23:34:17 +0000 (09:34 +1000)]
Still more updates to 'p'

18 years agoCope if 'best' doesn't find anything any good.
Neil Brown [Sun, 21 May 2006 23:33:29 +0000 (09:33 +1000)]
Cope if 'best' doesn't find anything any good.

18 years agoMore updates to 'p'
Neil Brown [Sun, 21 May 2006 23:32:24 +0000 (09:32 +1000)]
More updates to 'p'

18 years agoAssorted fixes and enhancements...
Neil Brown [Sun, 21 May 2006 23:20:25 +0000 (09:20 +1000)]
Assorted fixes and enhancements...

18 years agoVarious enhancements to 'p'
Neil Brown [Sun, 21 May 2006 23:18:15 +0000 (09:18 +1000)]
Various enhancements to 'p'

18 years agoFix off-by-one-error when extracting a merge file.
Neil Brown [Sun, 21 May 2006 23:17:49 +0000 (09:17 +1000)]
Fix off-by-one-error when extracting a merge file.

If a merge ended at EOF, --extract wouldn't interpret it properly.

18 years agoAdd recommit option to 'p'
Neil Brown [Sun, 21 May 2006 23:17:06 +0000 (09:17 +1000)]
Add recommit option to 'p'

18 years agoAdd wiggle.spec and fix typos in ANNOUNCE
Neil Brown [Sun, 21 May 2006 23:16:47 +0000 (09:16 +1000)]
Add wiggle.spec and fix typos in ANNOUNCE

18 years agoRemove usage of debian-specific --quiet flag to /usr/bin/time
Neil Brown [Sun, 21 May 2006 23:15:34 +0000 (09:15 +1000)]
Remove usage of debian-specific --quiet flag to /usr/bin/time

18 years agoWiggle 0.6 - first release v0.6
Neil Brown [Sun, 21 May 2006 23:13:49 +0000 (09:13 +1000)]
Wiggle 0.6 - first release